package com.shangdiao.sd_server.service;

import java.util.List;

import com.shangdiao.sd_server.generator.pojo.SdDicCertificate;
import com.shangdiao.sd_server.generator.pojo.SdDicCertificateExample;
import com.shangdiao.sd_server.generator.pojo.SdDicCompanyField;
import com.shangdiao.sd_server.generator.pojo.SdDicCompanyFieldExample;
import com.shangdiao.sd_server.generator.pojo.SdDicDistrict;
import com.shangdiao.sd_server.generator.pojo.SdDicDistrictExample;
import com.shangdiao.sd_server.generator.pojo.SdDicEducation;
import com.shangdiao.sd_server.generator.pojo.SdDicEducationExample;
import com.shangdiao.sd_server.generator.pojo.SdDicInternshipField;
import com.shangdiao.sd_server.generator.pojo.SdDicInternshipFieldExample;
import com.shangdiao.sd_server.generator.pojo.SdDicLabel;
import com.shangdiao.sd_server.generator.pojo.SdDicLabelExample;
import com.shangdiao.sd_server.generator.pojo.SdDicParttimeField;
import com.shangdiao.sd_server.generator.pojo.SdDicParttimeFieldExample;
import com.shangdiao.sd_server.generator.pojo.SdDicSettlement;
import com.shangdiao.sd_server.generator.pojo.SdDicSettlementExample;
import com.shangdiao.sd_server.generator.pojo.SdDicUniversity;
import com.shangdiao.sd_server.generator.pojo.SdDicUniversityExample;

public interface DicService {
 
    public int newDicLabel(SdDicLabel dicLabel);
    
    public List<SdDicCertificate> selectByExample(SdDicCertificateExample example);
    
    public List<SdDicLabel> selectByExample(SdDicLabelExample example);

    public List<SdDicSettlement> selectByExample(SdDicSettlementExample example);


    public List<SdDicCompanyField> selectByExample(SdDicCompanyFieldExample example);


    public List<SdDicDistrict> selectByExample(SdDicDistrictExample example);


    public List<SdDicEducation> selectByExample(SdDicEducationExample example);
    
    public SdDicEducation selectDicEducation(Integer dicEducationId);

    public List<SdDicInternshipField> selectByExample(SdDicInternshipFieldExample example);
    
    public SdDicInternshipField selectInternshipField(Integer dicFieldId);

    public List<SdDicUniversity> selectByExample(SdDicUniversityExample example);
    
    public SdDicUniversity selectUniversity(Integer universityId);
    
    public List<SdDicParttimeField> selectByExample(SdDicParttimeFieldExample example);
    
    public SdDicParttimeField selectParttimeField(Integer dicFieldId);
    
    public SdDicSettlement selectDicSettlementById(Integer dicSettlementId);
	
	/**
	 * 查找实习领域的总分类
	 * @return
	 */
	public List<String> selectInternshipCategory();
	
	public SdDicDistrict selectDistrictById(Integer districtId);
	
	/**
	 * 查找证书的总分类
	 * @return
	 */
	public List<String> selectCertificateCategory();
	
	
	/**
	 * 查找标签的总分类
	 * @return
	 */
	public List<String> selectLabelCategory();

	/**
	 * 更新我的标签
	 * @param record
	 * @return
	 */
	int updateDicLabel(SdDicLabel record);
	
	/**
	 * 更新我的标签
	 * @param record
	 * @return
	 */
	int updateDicLabel(SdDicLabel record, SdDicLabelExample example);
	
	/**
	 * 新增我的自定义标签
	 * @param record
	 * @return
	 */
	int insertDicLabel(SdDicLabel record);
	
   

}
